package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.req.MaterialPremixRecordReq;
import com.ruibang.glass.produce.entity.MaterialPremixRecord;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.List;

public interface MaterialPremixRecordService extends IService<MaterialPremixRecord> {
    void deleteById(String id);

    IPage<MaterialPremixRecord> pageQuery(MaterialPremixRecordReq materialPremixRecordReq);

    void export(MaterialPremixRecordReq materialPremixRecordReq, HttpServletResponse response);

    List<MaterialPremixRecord> getByDate(LocalDate date);
}
